TaskUpdate.prototype.status_macro = function() {
   // Check access with Update.canEdit()-function
   if (this.canEdit()) {
      if (this.finishedDate == null) {
         return "<a class='button' href='" + this.href("done") + "'>done!</a>";
      } else {
         return "<a class='button' href='" + this.href("undo") + "'>undo!</a>";
      }
   }
}
